package top.yj95.kecwv;

import java.util.concurrent.Executors;
import java.util.concurrent.ScheduledExecutorService;
import java.util.concurrent.TimeUnit;

import top.yj95.kecwv.job.KillEclipseChildrenWebView2Job;

public class Main {
    
    public static void main(String[] args) {
        ScheduledExecutorService scheduler = Executors.newSingleThreadScheduledExecutor();
        KillEclipseChildrenWebView2Job job = new KillEclipseChildrenWebView2Job(); // 创建 WebView2 进程清理任务
        scheduler.scheduleAtFixedRate(job, 0L, 1L, TimeUnit.MINUTES); // 每隔1分钟执行一次
    }
    
}
